package com.jie.langlangmall.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

/**
 * @Author Jie
 * @Date 2024/11/22 14:29
 * @Email 3217998214@qq.com
 * @Description 修改用户名密码参数
 */
@Data
public class UpdateAdminPasswordParam {
    @NotEmpty
    @Schema(title = "用户名", requiredMode = Schema.RequiredMode.REQUIRED)
    private String username;
    @NotEmpty
    @Schema(title = "旧密码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String oldPassword;
    @NotEmpty
    @Schema(title = "新密码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String newPassword;
}
